﻿using System;
using RTW.Core.Attributes;
using RTW.Core.Entity;
using System.Collections.Generic;

namespace RTW.Model
{
    [Serializable]
    [Table(Name = "Sys_Userlist")]
    public class SysUserlist : IEntityBase
    {
        /// <summary>
        /// 用户ID
        /// </summary>		
		[Id(true)]
        public int YHID { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>		
        public string YHMC { get; set; }

        /// <summary>
        /// 用户帐号
        /// </summary>		
        public string YHZH { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>		
        public string YHMM { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>		
        public int? BMID { get; set; }

        /// <summary>
        /// 用户电话
        /// </summary>		
        public string YHDH { get; set; }

        /// <summary>
        /// 权限ID
        /// </summary>		
        public int? QID { get; set; }

        /// <summary>
        /// 用户状态
        /// </summary>		
        public string YHZT { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>		
        public int? DWID { get; set; }

        /// <summary>
        /// 部门备注
        /// </summary>		
        public string YHBZ { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>		
        public string TJSJ { get; set; }

        /// <summary>
        /// 身份名称
        /// </summary>
        public string RMC { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string BMMC { get; set; }

        #region 分页参数
        /// <summary>
        /// 记录总数
        /// </summary>
        [IgnoreColumn]
        public int RecordCount { get; set; }
        #endregion
    }
}
